package com.leyou.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.leyou.entity.SkuEntity;
import com.leyou.vo.SkuVo;

import java.util.List;
import java.util.Map;

/**
 * sku表,该表表示具体的商品实体,如黑色的 64g的iphone 8
 *
 * @author Daifeng
 * @email 2661184062@qq.com
 * @date 2020-12-25 16:44:47
 */
public interface SkuService extends IService<SkuEntity> {

    List<SkuEntity> getInfoBySpuId(Long sid);

    Boolean deleteSku(Long id);

    List<SkuVo> getInfoWithStockBySpuId(Long sid);
}

